﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace Resto.CostControl.Core
{
    [Table("V_OrderMaterial")]
    public class OrderMaterial
    {
        public string Id { get; set; }
        [Display(Name = "日期")]
        public DateTime Date { get; set; }
        [Display(Name = "分类")]
        public string Category { get; set; }
        [Display(Name = "编号")]
        public string Code { get; set; }
        [Display(Name = "名称")]
        public string Name { get; set; }
        [Display(Name = "总重量")]
        public decimal TotalWeight { get; set; }
        [Display(Name = "总成本")]
        public decimal TotalCost { get; set; }
        [Display(Name = "实际库存")]
        public Decimal ActualSorage { get; set; }
        [Display(Name = "安全库存")]
        public Decimal SafeStorage { get; set; }
        [Display(Name = "供应商名称")]
        public string SupplierName { get; set; }
    }
}
